package Jop;

import org.codehaus.jettison.json.JSONArray;
import org.codehaus.jettison.json.JSONException;

public class CleanJob2 {
    public static String killResult(JSONArray killData) throws JSONException {
        String result = "";
        if (killData.length() != 0) {
            for (int i = 0; i < killData.length(); i++) {
                result = result + killData.get(i) + "-";
            }
            return result.substring(0, result.length() - 1);
        } else {
            return "null";
        }
    }
}
